import api from './api'

// 获取歌手列表
export const getSingerList = (params) => {
  return api.get('/singer/list', { params })
}

// 根据ID获取歌手详情
export const getSingerById = (id) => {
  return api.get(`/singer/singerOfId/${id}`)
}

// 获取歌手的歌曲列表
export const getSingerSongs = (singerId) => {
  return api.get(`/singer/songs/${singerId}`)
}